const db = require('../../../libs/db.config');

module.exports = async (data) => {
    const searchSQL = 'select * from shoppingcar where pID = ? and userID = ?';
    return await db.query(searchSQL, [data.pID, data.userID]);
};
